/**
 * 实训室设备管理 api 封装
 *
 * @Author:    李韵妍
 * @Date:      2024-11-14 16:13:22
 * @Copyright  🐂🐎bloc
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const equipmentManageApi = {

  /**
   * 分页查询  @author  李韵妍
   */
  queryPage : (param) => {
    return postRequest('/equipmentManage/queryPage', param);
  },

  /**
   * 增加  @author  李韵妍
   */
  add: (param) => {
      return postRequest('/equipmentManage/add', param);
  },

  /**
   * 修改  @author  李韵妍
   */
  update: (param) => {
      return postRequest('/equipmentManage/update', param);
  },

  /**
   * 所有设备  @author  李韵妍
   */
  getAllEquipment: (param) => {
      return getRequest(`/equipmentManage/queryEquipment/${param}`);
  },



};
